﻿using System;
using System.Windows;

namespace WordStat.WordExceptions
{
    /// <summary>
    /// Interaction logic for EditWordExceptionForm.xaml
    /// </summary>
    public partial class EditWordExceptionForm : Window
    {
        public EditWordExceptionForm()
        {
            InitializeComponent();
        }

        private void Close_Click(object sender, RoutedEventArgs e)
        {
            Close();
        }

        public void SetData(WordExceptionRecordContainer wordExceptions)
        {
            _dataGrid.DataContext = wordExceptions;
        }
    }
}
